home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / adaptor.zip / ADAPT.ZIP / adaptor / src / include / errors.h < prev    next >
C/C++ Source or Header  |  1993-07-08  |  1KB  |  44 lines

  1. # ifndef yyErrors
  2. # define yyErrors
  3.  
  4. /* $Id: Errors.h,v 2.5 1992/06/23 12:33:51 grosch rel $ */
  5.  
  6. # include "Scanner.h"
  7.  
  8. # define yyNoText        0
  9. # define yySyntaxError        1    /* error codes        */
  10. # define yyExpectedTokens    2
  11. # define yyRestartPoint        3
  12. # define yyTokenInserted    4
  13.  
  14. # define yyNone            0
  15. # define yyFatal        1    /* error classes    */
  16. # define yyRestriction        2
  17. # define yyError        3
  18. # define yyWarning        4
  19. # define yyRepair        5
  20. # define yyNote            6
  21. # define yyInformation        7
  22.  
  23. # define yyInteger        1    /* info classes        */
  24. # define yyShort        2
  25. # define yyLong            3
  26. # define yyReal            4
  27. # define yyBoolean        5
  28. # define yyCharacter        6
  29. # define yyString        7
  30. # define yySet            8
  31. # define yyToken        9
  32. # define yyTokenSet        10
  33.  
  34. # if defined __STDC__ | defined __cplusplus
  35. # define ARGS(parameters)    parameters
  36. # else
  37. # define ARGS(parameters)    ()
  38. # endif
  39.  
  40. extern void ErrorMessage  ARGS((short yyErrorCode, short yyErrorClass, tPosition yyPosition));
  41. extern void ErrorMessageI ARGS((short yyErrorCode, short yyErrorClass, tPosition yyPosition, short yyInfoClass, char * yyInfo));
  42.  
  43. # endif
  44.